<div class="col-md-9">
	<div class="row">
		<?php include("global-includes/breadcrumbs.php"); ?>
		<h1 class="sectionTitle"><?php echo $page["name"]; ?></h1>
		<?php echo $page["description"]; ?>
	</div>
	<div class="row">
	
	<?php
		$companies = getCompanies();
		if($companies):
	 ?>
			<table id="companiesTable" class="table table-responsive table-condensed table-hover" border="0"> 
				<?php foreach($companies as $company): ?>
					<tr>
						<td class="name"><a href="<?php echo $site_pages["companies"]["url"] . $company["url"]; ?>.html" title="<?php echo $company["name"]; ?>"><?php echo $company["name"]; ?></a></td>
						<td><span><?php echo $company["city_name"]; ?></span></td>
						<td>
							<?php
								if($company["business_type"] == 1)
								{
									$businessType = translate("producator");
								}
								elseif($company["business_type"] == 2)
								{
									$businessType = translate("distribuitor");
								}
								elseif($company["business_type"] == 3)
								{
									$businessType = translate("furnizor");
								}
								
								echo ucfirst($businessType);
							?>
						</td>
					</tr>
				<?php endforeach; ?>
				
			</table>
				
		<?php endif; ?>
	</div>
	
</div>
<!-- SIDEBAR -->
	<?php include("html-includes/homepage/items/sidebar.php"); ?>
	<!-- END SIDEBAR-->
<div class="clearfix"></div>